package com.soboot.base.model;

import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author:
 * @createTime: 2022年09月21日 10:33:28
 * @version: 1.0
 * @Description: 控制器基类
 * @Copyright:
 */
public abstract class BaseController {

    /**
     * 空串
     */
    protected static String EMPTY_STR = StringUtils.EMPTY;

    /**
     * 日志对象
     */
    protected Logger log = LoggerFactory.getLogger(getClass());

    /**
     * 获得当前请求对象
     *
     * @return
     */
    /*protected HttpServletRequest getRequest() {
        return ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
    }*/
}
